package mytest.wd3;

import java.text.SimpleDateFormat;
import java.time.Duration;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;

public class Test_6 {
    public static void main(String[] args) {
        Long importTime = 1730530408L;
        LocalDateTime now = LocalDateTime.now();
        LocalDateTime importDateTime = LocalDateTime.ofInstant(Instant.ofEpochSecond(importTime), ZoneId.systemDefault());
        Duration duration = Duration.between(importDateTime, now);
        long days = duration.toDays();

        System.out.println(days);
    }
}
